﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZzgkChatRoom.Models
{
     public class EmojiEntity
    {
        private string _key; //分组
        private string _keyImg;//分组图像
        private Dictionary<string, string> _emojiCode = new Dictionary<string, string>();//emoji编码

        /// <summary>
        /// 分组
        /// </summary>
        public string Key { get { return _key; } set { _key = value; } }
        /// <summary>
        /// emoji编码
        /// </summary>
        public Dictionary<string, string> EmojiCode { get { return _emojiCode; } set {  _emojiCode = value; } }
        /// <summary>
        /// 分组图像
        /// </summary>
        public string KeyImg
        {
            get
            {
                return _keyImg = EmojiCode.Values.First();
            }
        }

    }
}
